package com.wwm.makerandroid.makerandroid.Bean.RespondBean;

import java.util.List;

//1.2首页banner
//https://www.wanandroid.com/banner/json

/**
 * jsonFormat插件自动生成
 * 4个banner数据 data
 */

public class RecordBean {

    /**
     * data : [{
     *             "id": 7,
     *             "userNumber": "4191110155",
     *             "type": 0,
     *             "reason": "爷爷生病去医院看望",
     *             "outDate": "2021-12-28 19:50:01",
     *             "expectedReturnDate": "2022-12-03 20:06:08",
     *             "vehicle": "火车",
     *             "destination": "南京市江宁区",
     *             "approverId": 123456789
     *         },
     *         {
     *             "id": 1,
     *             "userNumber": "4191110155",
     *             "type": 1,
     *             "reason": "大保健",
     *             "outDate": "2022-12-01 02:06:08",
     *             "expectedReturnDate": "2022-12-01 20:06:08",
     *             "vehicle": "火车",
     *             "destination": "连云港",
     *             "approverId": 123456
     *         }]
     * errorCode : 0
     * errorMsg :
     */

    private int errorCode;
    private String errorMsg;
    private List<DataBean> data;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

//    静态内部类
    public static class DataBean {
        /**
         * "id": 7,
         * "userNumber": "4191110155",
         * "type": 0,
         * "reason": "爷爷生病去医院看望",
         * "outDate": "2021-12-28 19:50:01",
         * "expectedReturnDate": "2022-12-03 20:06:08",
         * "vehicle": "火车",
         * "destination": "南京市江宁区",
         * "approverId": 123456789
         */

        private String id;
        private String userNumber;
        private int type;
        private String reason;
        private String outDate;
        private String expectedReturnDate;
        private String vehicle;
        private String destination;
        int state;

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        private String remark;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserNumber() {
            return userNumber;
        }

        public void setUserNumber(String userNumber) {
            this.userNumber = userNumber;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public String getOutDate() {
            return outDate;
        }

        public void setOutDate(String outDate) {
            this.outDate = outDate;
        }

        public String getExpectedReturnDate() {
            return expectedReturnDate;
        }

        public void setExpectedReturnDate(String expectedReturnDate) {
            this.expectedReturnDate = expectedReturnDate;
        }

        public String getVehicle() {
            return vehicle;
        }

        public void setVehicle(String vehicle) {
            this.vehicle = vehicle;
        }

        public String getDestination() {
            return destination;
        }

        public void setDestination(String destination) {
            this.destination = destination;
        }
    }
    }

